package com.llg.model.response;

import com.llg.model.code.ResultCode;
import lombok.Data;

@Data
public class ResponseResult{

    private boolean success;
    private int code;
    private String message;

    public ResponseResult(ResultCode resultCode) {
        this.success = resultCode.success();
        this.code = resultCode.code();
        this.message = resultCode.message();
    }

}
